package com.dispatcher.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.dispatcher.LocalService;
import com.dispatcher.common.CommonDefine;

public class BootBroadcastReceiver extends BroadcastReceiver {
	@Override  
    public void onReceive(Context context, Intent intent) {  
		//后边的XXX.class就是要启动的服务  
		Intent service = new Intent(context,LocalService.class);  
		context.startService(service);  
		CommonDefine.LogV_App("zuzhili local service start at boot");  
    }  
}
